package cn.darkhorse.pick.pojo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采棉机预约对象 pick_subscribe
 *
 * @author ruoyi
 * @date 2021-05-06
 */
@Data
public class PickSubscribe extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采棉机预约ID */
    private Long subscribeId;

    /** 采棉机预约单据号 */
    @Excel(name = "采棉机预约单据号")
    private String billNo;

    /** 采棉机预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采棉机预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billDate;

    /** 农户编码 */
    @Excel(name = "农户编码")
    private String farmerCode;

    /** 农田编码 */
    @Excel(name = "农田编码")
    private String farmlandCode;

    /** 棉花品种编码 */
    @Excel(name = "棉花品种编码")
    private String cottonCode;

    /** 农田名称 */
    @Excel(name = "农田名称")
    private String farmlandName;

    /** 坐标1 */
    @Excel(name = "坐标1")
    private String coordinate1;

    /** 坐标2 */
    @Excel(name = "坐标2")
    private String coordinate2;

    /** 坐标3 */
    @Excel(name = "坐标3")
    private String coordinate3;

    /** 坐标4 */
    @Excel(name = "坐标4")
    private String coordinate4;

    /** 坐标5 */
    @Excel(name = "坐标5")
    private String coordinate5;

    /** 采棉机公司编码 */
    @Excel(name = "采棉机公司编码")
    private String firmCode;

    /** 状态 */
    @Excel(name = "状态")
    private String statusFlag;

    public void setSubscribeId(Long subscribeId)
    {
        this.subscribeId = subscribeId;
    }

    public Long getSubscribeId()
    {
        return subscribeId;
    }
    public void setBillNo(String billNo)
    {
        this.billNo = billNo;
    }

    public String getBillNo()
    {
        return billNo;
    }
    public void setBillDate(Date billDate)
    {
        this.billDate = billDate;
    }

    public Date getBillDate()
    {
        return billDate;
    }
    public void setFarmerCode(String farmerCode)
    {
        this.farmerCode = farmerCode;
    }

    public String getFarmerCode()
    {
        return farmerCode;
    }
    public void setFarmlandCode(String farmlandCode)
    {
        this.farmlandCode = farmlandCode;
    }

    public String getFarmlandCode()
    {
        return farmlandCode;
    }
    public void setCottonCode(String cottonCode)
    {
        this.cottonCode = cottonCode;
    }

    public String getCottonCode()
    {
        return cottonCode;
    }
    public void setFarmlandName(String farmlandName)
    {
        this.farmlandName = farmlandName;
    }

    public String getFarmlandName()
    {
        return farmlandName;
    }
    public void setCoordinate1(String coordinate1)
    {
        this.coordinate1 = coordinate1;
    }

    public String getCoordinate1()
    {
        return coordinate1;
    }
    public void setCoordinate2(String coordinate2)
    {
        this.coordinate2 = coordinate2;
    }

    public String getCoordinate2()
    {
        return coordinate2;
    }
    public void setCoordinate3(String coordinate3)
    {
        this.coordinate3 = coordinate3;
    }

    public String getCoordinate3()
    {
        return coordinate3;
    }
    public void setCoordinate4(String coordinate4)
    {
        this.coordinate4 = coordinate4;
    }

    public String getCoordinate4()
    {
        return coordinate4;
    }
    public void setCoordinate5(String coordinate5)
    {
        this.coordinate5 = coordinate5;
    }

    public String getCoordinate5()
    {
        return coordinate5;
    }
    public void setFirmCode(String firmCode)
    {
        this.firmCode = firmCode;
    }

    public String getFirmCode()
    {
        return firmCode;
    }
    public void setStatusFlag(String statusFlag)
    {
        this.statusFlag = statusFlag;
    }

    public String getStatusFlag()
    {
        return statusFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subscribeId", getSubscribeId())
            .append("billNo", getBillNo())
            .append("billDate", getBillDate())
            .append("farmerCode", getFarmerCode())
            .append("farmlandCode", getFarmlandCode())
            .append("cottonCode", getCottonCode())
            .append("farmlandName", getFarmlandName())
            .append("coordinate1", getCoordinate1())
            .append("coordinate2", getCoordinate2())
            .append("coordinate3", getCoordinate3())
            .append("coordinate4", getCoordinate4())
            .append("coordinate5", getCoordinate5())
            .append("firmCode", getFirmCode())
            .append("statusFlag", getStatusFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
